//
//  TempViewController.swift
//  SinaWeibo
//
//  Created by liyue on 15/11/17.
//  Copyright © 2015年 李越. All rights reserved.
//

import UIKit

class TempViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        self.title = "\(navigationController?.childViewControllers.count)"
        
        view.backgroundColor = UIColor.randomColor()
    }

    override func touchesEnded(touches: Set<UITouch>, withEvent event: UIEvent?) {
        
        let temp = TempViewController()
        navigationController?.pushViewController(temp, animated: true)
    }

}
